﻿namespace Microsoft.Practices.ESB.Itinerary.OM.V2
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), DebuggerStepThrough, XmlType(AnonymousType=true, Namespace="http://schemas.microsoft.biztalk.practices.esb.com/itinerary"), GeneratedCode("xsd", "2.0.50727.3038")]
    public class ItineraryServiceInstance
    {
        private string idField;
        private bool isRequestResponseField;
        private bool isRequestResponseFieldSpecified;
        private string nameField;
        private string nextIdField;
        private int positionField;
        private bool positionFieldSpecified;
        private Stages stageField;
        private bool stageFieldSpecified;
        private string stateField;
        private string typeField;
        private string uuidField;

        [XmlAttribute]
        public string id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }

        [XmlAttribute]
        public bool isRequestResponse
        {
            get
            {
                return this.isRequestResponseField;
            }
            set
            {
                this.isRequestResponseField = value;
            }
        }

        [XmlIgnore]
        public bool isRequestResponseSpecified
        {
            get
            {
                return this.isRequestResponseFieldSpecified;
            }
            set
            {
                this.isRequestResponseFieldSpecified = value;
            }
        }

        [XmlAttribute]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        [XmlAttribute]
        public string nextId
        {
            get
            {
                return this.nextIdField;
            }
            set
            {
                this.nextIdField = value;
            }
        }

        [XmlAttribute]
        public int position
        {
            get
            {
                return this.positionField;
            }
            set
            {
                this.positionField = value;
            }
        }

        [XmlIgnore]
        public bool positionSpecified
        {
            get
            {
                return this.positionFieldSpecified;
            }
            set
            {
                this.positionFieldSpecified = value;
            }
        }

        [XmlAttribute]
        public Stages stage
        {
            get
            {
                return this.stageField;
            }
            set
            {
                this.stageField = value;
            }
        }

        [XmlIgnore]
        public bool stageSpecified
        {
            get
            {
                return this.stageFieldSpecified;
            }
            set
            {
                this.stageFieldSpecified = value;
            }
        }

        [XmlAttribute]
        public string state
        {
            get
            {
                return this.stateField;
            }
            set
            {
                this.stateField = value;
            }
        }

        [XmlAttribute]
        public string type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }

        [XmlAttribute]
        public string uuid
        {
            get
            {
                return this.uuidField;
            }
            set
            {
                this.uuidField = value;
            }
        }
    }
}

